package com.weitu.occupationalHealth.phyData.service.impl;

import com.weitu.occupationalHealth.phyData.entity.TgStation;
import com.weitu.occupationalHealth.phyData.mapper.TgStationMapper;
import com.weitu.occupationalHealth.phyData.service.TgStationService;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TgStationServiceImpl implements TgStationService {
    @Autowired
    private TgStationMapper tgStationMapper;


    public TgStation selectById(String id) {
        return this.tgStationMapper.selectById(id);
    }


    public int deleteById(String id) {
        return this.tgStationMapper.deleteById(id);
    }

    public int updateByIdSelective(TgStation record) {
        return this.tgStationMapper.updateByIdSelective(record);
    }

    public int updateById(TgStation record) {
        return this.tgStationMapper.updateById(record);
    }

    public int insert(TgStation record) {
        return this.tgStationMapper.insert(record);
    }

    public int insertSelective(Map record) {
        return this.tgStationMapper.insertSelective(record);
    }
}